include ../Makefile.param

CPPFLAGS += -I ../include
CPPFLAGS += -DHAVE_SYS_UIO_H -DHAVE_IOCTL -DHAVE_PTHREADS

LDFLAGS += -L ../liblog -llog

all: logcat

clean:
	rm -f *.o
	rm -f logcat

SRCS := \
	logcat.cpp

OBJS := $(SRCS:%.cpp=%.o)

$(OBJS): %.o : %.cpp
	$(cxx-cpp-to-o)

logcat: $(OBJS)
	$(cxx-o-to-exe)
	$(strip-target)
